﻿import os
import scripts.app_helper as app

CUSTOM_WIDGET_LIBS = []

DEPENDS_LIBS = CUSTOM_WIDGET_LIBS + []

ARGUMENTS['WITH_MVVM'] = 'true'

helper = app.Helper(ARGUMENTS)
helper.set_deps(DEPENDS_LIBS)

APP_CPPPATH = [
  os.path.join(os.getcwd(), '../common'),
  os.path.join(os.getcwd(), '../../awtk-modbus/src'),
  os.path.join(os.getcwd(), '../../awtk-sqlite3/src'),
  os.path.join(os.getcwd(), '../../awtk-widget-table-view/src'),
  os.path.join(os.getcwd(), '../../awtk-widget-table-view-mvvm/src'),
  os.path.join(os.getcwd(), '../../awtk-widget-slidable-row/src'),
  os.path.join(os.getcwd(), '../../awtk-widget-slider-circle/src'),
  os.path.join(os.getcwd(), '../../awtk-database-repository/src')
]

APP_CCFLAGS=' '
helper.add_cpppath(APP_CPPPATH).add_ccflags(APP_CCFLAGS);
app.prepare_depends_libs(ARGUMENTS, helper, DEPENDS_LIBS)
helper.call(DefaultEnvironment)

SConscriptFiles = ['src/SConscript']
helper.SConscript(SConscriptFiles)
